package com.ruoyi.hr.service.jobadmin;


import com.ruoyi.hr.domain.Authority;
import com.ruoyi.hr.util.BaseResult;

import java.util.List;
import java.util.Map;

public interface JobAdminService {

    List<Map<String, Object>> findJobList(Map map, Authority authority);

    List<Map<String, Object>> findYxJob();

    int insertJob(Map map);

    Map<String, Object> findJobAdd(String id);

    /**
     * 根据所属公司找出下属部门
     */
    List<Map<String, Object>> findXsDep(String compId);

    int updateJobAdd(Map map);

    int delete(String ids);

    BaseResult procedure(String allId, String procedure);

    List<Map<String, Object>> findEditJobList(Map map,Authority authority);

    int updateJobEdit(Map map);

    BaseResult addEditJob(String allJob,String type);

    int editDepInvalid(Map map);

    List<Map<String,Object>> findHistoryJobList(Map map,Authority authority);

    List<Map<String,Object>> jobInfoList(Map map,Authority authority);

}
